package c.e.a.b.f.b;

import android.os.Parcel;
import android.os.Parcelable.Creator;
import b.i.b.f;
import com.google.android.gms.measurement.internal.zzap;
import com.google.android.gms.measurement.internal.zzaq;

/* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */
public final class q implements Creator<zzaq> {
    public final Object createFromParcel(Parcel parcel) {
        int j1 = f.j1(parcel);
        String str = null;
        zzap zzap = str;
        String str2 = zzap;
        long j = 0;
        while (parcel.dataPosition() < j1) {
            int readInt = parcel.readInt();
            int i = 65535 & readInt;
            if (i == 2) {
                str = f.j0(parcel, readInt);
            } else if (i == 3) {
                zzap = (zzap) f.h0(parcel, readInt, zzap.CREATOR);
            } else if (i == 4) {
                str2 = f.j0(parcel, readInt);
            } else if (i != 5) {
                f.h1(parcel, readInt);
            } else {
                j = f.S0(parcel, readInt);
            }
        }
        f.q0(parcel, j1);
        return new zzaq(str, zzap, str2, j);
    }

    public final /* synthetic */ Object[] newArray(int i) {
        return new zzaq[i];
    }
}
